// Copyright (c) 2021 Presto Labs Pte. Ltd.
// Author: hgpark

#pragma once

#include "coin2/exchange/base/feed/update.h"
#include "coin2/exchange/base/log/strategy_logger.h"
#include "coin2/strategy/order_executor.pb.h"

namespace coin2::strategy::rmm_strat {

using coin2::exchange::base::feed::FeedUpdate;

void SetFeedTimeToLatency(
    const FeedUpdate& upd,
    coin::proto::LatencyProto::LatencyTag tag,
    const coin::proto::AccountRequestProto& acc_request,
    bool mark_end,
    exchange::base::strategy_util::LatencyRecorder* latency_recorder);

}  // namespace coin2::strategy::rmm_strat
